<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <!-- v-model 双向绑定下拉列表 -->
    <div id="app">
        <select v-model='mySelects' multiple>
            <option value="苹果">苹果</option>
            <option value="香蕉">香蕉</option>
            <option value="葡萄">葡萄</option>
            <option value="蓝莓">蓝莓</option>
        </select>
        <div>
            您选择的是{{ mySelects }}
        </div>
    </div>
    <script src="../js/vue.js"></script>
    <script>
        const app = new Vue({
            el:'#app',
            data(){
                return {
                    // mySelect:'',
                    mySelects:[]
                }
            }
        })
    </script>
</body>
</html>